//run.h
#include <iostream>
#include "Bus.h"
#include "Truck.cpp"
using namespace std;

int main() {
    Vehicle** vehicles = new Vehicle*[5];
    vehicles[0] = new Bus(4, 2, 20);
    vehicles[1] = new Bus(4, 3, 30);
    vehicles[2] = new Bus(4, 4, 40);
    vehicles[3] = new Truck(6, 5, 10);
    vehicles[4] = new Truck(10, 9, 15);
    for (int i = 0; i < 5; i++) {
        vehicles[i]->Display();
    }
    return 0;
}